﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/shortcontent.Master" AutoEventWireup="true" CodeBehind="join.aspx.cs" Inherits="Ciripescu_WebRole.join" %>

<%@ Register Assembly="WebTools.UI" Namespace="WebTools.UI.WebControls" TagPrefix="webtools" %>
<%@ Register TagPrefix="recaptcha" Namespace="Recaptcha" Assembly="Recaptcha" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<br />

<div align="center">
<span class="title">Uite acus, acus...pe Ciripescu's pus...</span>
</div>
<br />
<table align="center" cellspacing="10">
<tr>
<td class="label_cell">
    <asp:Label ID="Label1" runat="server" Text="Nume complet:" CssClass="label_large"></asp:Label></td>
<td>
    <asp:TextBox ID="txtFullname" runat="server" CssClass="textbox_large"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
        ControlToValidate="txtFullname" ErrorMessage=" nu poate fi gol..."></asp:RequiredFieldValidator>
    </td>
</tr>

<tr>
<td class="label_cell">
    <asp:Label ID="Label2" runat="server" Text="Username:" CssClass="label_large"></asp:Label></td>
<td>
    <asp:TextBox ID="txtUsername" runat="server" CssClass="textbox_large" 
        MaxLength="21"></asp:TextBox>
    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
        ControlToValidate="txtUsername" ErrorMessage="doar litere si cifre..." 
        ValidationExpression="[A-Z,a-z,0-9,_]*"></asp:RegularExpressionValidator>
    <asp:RequiredFieldValidator ID="reqUsername" runat="server" 
        ControlToValidate="txtUsername" ErrorMessage="nu poate fi gol..."></asp:RequiredFieldValidator>
    </td>
</tr>
<tr>
          <th/>
          <td colspan="2">
            <span>
              URL: http://ciripescu.ro/u/<strong id="signup_username_url">username</strong>
            </span>
          </td>
        </tr>
<tr>
<td class="label_cell">
    <asp:Label ID="Label4" runat="server" Text="Email:" CssClass="label_large"></asp:Label></td>
<td>
    <asp:TextBox ID="txtEmail" runat="server" CssClass="textbox_large" ></asp:TextBox>
    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
        ControlToValidate="txtEmail" ErrorMessage="email invalid..." 
        meta:resourcekey="RegularExpressionValidator1Resource1" 
        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
    </td>
</tr>
<tr>
<td class="label_cell">
    <asp:Label ID="Label3" runat="server" Text="Parola:" CssClass="label_large"></asp:Label></td>
<td>
    <asp:TextBox ID="txtPassword" runat="server" TextMode="Password"  
        CssClass="textbox_large" MaxLength="21" ></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
        ControlToValidate="txtPassword" ErrorMessage=" parola invalida..."></asp:RequiredFieldValidator>
    </td>
</tr>

<tr>
<td></td>
<td>
    <recaptcha:RecaptchaControl runat="server" ID="recaptcha"
    PublicKey="6Lc4QwYAAAAAAJDxUd_3t52REfrCd8GYhZpBEKuj"            
  PrivateKey="6Lc4QwYAAAAAAA9qSjBr27tyNJEk_kcwk61Sphik">
    </recaptcha:RecaptchaControl></td>
</tr>

<tr>
<td></td>
<td>
<div id="divErrors" runat="server" class="errors">
</div>
</td>
</tr>

<tr>
<td></td>
<td> 
    <webtools:RolloverImageButton ID="btnRegister" runat="server" 
        ImageUrl="/images/buttons/join.png" 
        MouseOutImageUrl="/images/buttons/join.png" 
        MouseOverImageUrl="/images/buttons/join_o.png" onclick="btnRegister_Click"></webtools:RolloverImageButton>
    
    
</td>    
</tr>
</table>
</asp:Content>
